package com.xtjc03.domain.entity;

import com.alibaba.fastjson.annotation.JSONField;

public class Temperature {

    @JSONField(name = "响应时间")
    private String currentDate;

    @JSONField(name = "温度")
    private String value;

    public String getCurrentDate() {
        return currentDate;
    }

    public void setCurrentDate(String currentDate) {
        this.currentDate = currentDate;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "温度传感器{" +
                "响应时间='" + currentDate + '\'' +
                ", 温度值='" + value + '\'' +
                '}';
    }
}
